<#include "/common/_layout.html"/>
<@layout>
<h1>选修管理&nbsp;&nbsp;
<a href="/optcourse/add/${sid}">选修课程</a>
</h1>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="8%">课程</th>
				<th width="8%">讲师</th>
				<th width="8%">操作</th>
			</tr>
			
			<#list optcoursePage.getList() as x>
			<tr>
				<td style="text-align:left;">${x.id}</td>
				<td style="text-align:left;">${x.course_name}</td>
				<td style="text-align:left;">${x.teacher_name}</td>
				<td style="text-align:left;">
					&nbsp;&nbsp;<a href="/optcourse/delete/${x.id}-${sid}">删除</a>
				</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "/common/_paginate.html" />
	<@paginate currentPage=optcoursePage.pageNumber totalPage=optcoursePage.totalPage actionUrl="/optcourse/" urlParas="-" + sid/>
</div>
</@layout>